package net.youball.entity;

/**
 * BallConfig entity. @author MyEclipse Persistence Tools
 */

public class BallConfig extends BaseEntity implements
		java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer configId;
	private Integer emailOnOff;
	private Integer phoneOnOff;
	private Integer messageOnOff;

	// Constructors

	/** default constructor */
	public BallConfig() {
	}

	/** full constructor */
	public BallConfig(Integer emailOnOff, Integer phoneOnOff,
			Integer messageOnOff) {
		this.emailOnOff = emailOnOff;
		this.phoneOnOff = phoneOnOff;
		this.messageOnOff = messageOnOff;
	}

	// Property accessors

	public Integer getConfigId() {
		return this.configId;
	}

	public void setConfigId(Integer configId) {
		this.configId = configId;
	}

	public Integer getEmailOnOff() {
		return this.emailOnOff;
	}

	public void setEmailOnOff(Integer emailOnOff) {
		this.emailOnOff = emailOnOff;
	}

	public Integer getPhoneOnOff() {
		return this.phoneOnOff;
	}

	public void setPhoneOnOff(Integer phoneOnOff) {
		this.phoneOnOff = phoneOnOff;
	}

	public Integer getMessageOnOff() {
		return this.messageOnOff;
	}

	public void setMessageOnOff(Integer messageOnOff) {
		this.messageOnOff = messageOnOff;
	}

	@Override
	public String toString() {
		return "BallConfig [configId=" + configId + ", emailOnOff="
				+ emailOnOff + ", messageOnOff=" + messageOnOff
				+ ", phoneOnOff=" + phoneOnOff + "]";
	}

	
}